import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from '@/router/index'
import App from './App'
import './style.css'
import 'tailwindcss/tailwind.css'
import { deepClone } from './utils/index'
const app = createApp(App)
app.provide('$clone', deepClone)
app.use(createPinia())
app.use(router)
/**
 *  使naive-ui-style后加载于tailwind,防止样式被冲掉
 * */
const meta = document.createElement('meta')
meta.name = 'naive-ui-style'
document.head.appendChild(meta)
app.mount('#app')
